﻿using SmartCity.Passport.Infrastructure.Migrations;

namespace SmartCity.Passport.API.DTOS
{
    /// <summary>
    /// 用户DTO
    /// </summary>
    public class UserDTO
    {
        /// <summary>
        /// 用户编号
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPass { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string UserNickname { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 角色编号
        /// </summary>
        public int RoleId { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 角色用户中间编号
        /// </summary>
        public int RUId { get; set; }
        /// <summary>
        /// 获取Token值
        /// </summary>
        public string Token {  get; set; }

        public List<permission> permissions { get; set; }
    }
}
